<?php

namespace App\Models;

class Collect extends Model
{
    protected $fillable = ['title', 'body', 'user_id', 'category_id', 'reply_count', 'view_count', 'last_replay_user_id', 'order'];


    public function pictuers()
    {
      return $this->belongsToMany(Pictuer::class);
    }
}
